<template>
    <div class="warps">
        <div class="bar"></div>
    </div>
</template>

<script>
export default {
    name: "loadingBar"
}
</script>

<style lang="less" scoped>
.warps{
    position: fixed;
    top: 0;
    width: 100%;
    height: 10px;
    .bar{
        height: inherit;
        width: 0;
        background: red;
    }
}

</style>